package com.example.demo.entity.dataSource2;

import java.util.Date;

/**
create table pcom_es_dict (
	id int primary key auto_increment,
	word varchar(255) not null comment '词典',
	create_time timestamp not null default current_timestamp comment '词典创建时间',
	source varchar(255) not null default '' comment '各系统SSO标识',
	UNIQUE(word)
)
 * */
public class ESDictEntity {

	private int id;
	
	private String word;
	
	private Date createTime;
	
	/** 
	 * 使用各个系统SSO标识
	 * */
	private String source;
	
	
			
	public ESDictEntity(){}

	public ESDictEntity(int id, String word, Date createTime, String source) {
		super();
		this.id = id;
		this.word = word;
		this.createTime = createTime;
		this.source = source;
	}




	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getWord() {
		return word;
	}


	public void setWord(String word) {
		this.word = word;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public String getSource() {
		return source;
	}


	public void setSource(String source) {
		this.source = source;
	}
	
	
	
}
